From 4dee1646a12e7d57b838a2299a51861efc7b7181 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 8 Feb 2015 21:02:07 +0100 Subject: [PATCH] Fix annotations The function gtk_label_set_attributes() is also used to unset attributes, by passing %NULL. Reflect that in the argument annotations. --- gtk/gtklabel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c index 6cc0e24d9d..e4504d03ea 100644 --- a/gtk/gtklabel.c +++ b/gtk/gtklabel.c @@ -2232,10 +2232,10 @@ gtk_label_set_text (GtkLabel *label, /** * gtk_label_set_attributes: * @label: a #GtkLabel - * @attrs: a #PangoAttrList - * + * @attrs: (allow-none): a #PangoAttrList, or %NULL + * * Sets a #PangoAttrList; the attributes in the list are applied to the - * label text. + * label text. * * The attributes set with this function will be applied * and merged with any other attributes previously effected by way -- 2.30.2